package bufferings.lab.basic.check;

import org.junit.Test;
import org.slim3.tester.AppEngineTestCase;

import com.google.appengine.api.datastore.DatastoreService;
import com.google.appengine.api.datastore.DatastoreServiceFactory;

public class AllocateId extends AppEngineTestCase {


  @Test
  public void sample() {
    DatastoreService ds = DatastoreServiceFactory.getDatastoreService();
    ds.allocateIds("Sample", 1);
  }
  @Test
  public void sample2() {
    DatastoreService ds = DatastoreServiceFactory.getDatastoreService();
    ds.allocateIds("Sample", 0);
  }
  @Test
  public void sample3() {
    DatastoreService ds = DatastoreServiceFactory.getDatastoreService();
    ds.allocateIds("Sample", -1);
  }
}
